#include <cxxtest/TestSuite.h>

#include <LLIIO/LLIIO.h>

class UnitTestPNG : public CxxTest::TestSuite
{
public:

    void TestOverall()
    {
        LtImage pI = LiOpen( "C:/Head.png" ) ;
        TS_ASSERT( pI ) ;

        LtInt32 iW = LiGetWidth( pI ) ;
        TS_ASSERT( iW ) ;

        LtInt32 iH = LiGetHeight( pI ) ;
        TS_ASSERT( iH ) ;

        LiClose( & pI ) ;
        TS_ASSERT( pI == NULL ) ;
    }
};
